/*
 * @Author: cz
 * @Date: 2019-10-21 4：23
 * @Last Modified by:
 * @Last Modified time: 2019-10-21 4：23
 * @Description: 流程监控相关
 */
import request from '@/router/axios'

/**
 * 任务签收
 * @param {*} query
 */
export function taskAssignee (taskId,query) {
  return request({
    url: '/act/monitor/task/'+taskId+'/assignee',
    method: 'put',
    data: query
  })
}

/**
 * 完成任务
 * @param {*} params
 */
export function taskComplete(taskId, params) {
  return request({
    url: '/act/monitor/task/' + taskId + '/complete',
    method: 'put',
    data: params
  })
}
